package com.cloudfun.campusshare.device.protocol.constant;

/**
 * @author wangxiyuan
 * @description
 * @createDate 2021/5/19 9:42
 **/
public enum PumpCmdType {
    GET_STATUS(1,"读取设备3个液体泵的状态"),
    WORK(2,"向控制板下发3个液体泵工作指令"),
    FIRST_PUMP_REPORT(3,"第一路液体泵工作结束上报"),
    SECOND_PUMP_REPORT(4,"第二路液体泵工作结束上报"),
    THIRD_PUMP_REPORT(5,"第三路液体泵工作结束上报"),
    DELAY_WORK(6,"向控制板下发3个液体泵延时时间和工作时间指令"),
    GET_TIME_SETTING(7,"读取设备3个液体泵的工作时间和延时时间配置");

    private int cmdType;
    private String desc;

    PumpCmdType(int cmdType, String desc) {
        this.cmdType = cmdType;
        this.desc = desc;
    }

    public int getCmdType() {
        return cmdType;
    }

    public String getDesc() {
        return desc;
    }

}
